package main

import "golang.org/x/tour/pic"

func Pic(dx, dy int) [][]uint8 {
	img:=make([][]uint8,dy)
	for i:=0;i<dy;i++{
		img[i]=make([]uint8,dx)
	}
	for i:=0;i<dx;i++{
		for j:=0;j<dy;j++{
			img[i][j]=(uint8)(i+j)/2
			img[i][j]=(uint8)(i*j)
		}
	}
	return img
}

func main() {
	pic.Show(Pic)
}
